package com.byxy.ssm.demo.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import com.byxy.ssm.demo.entity.Tab;
import com.byxy.ssm.demo.service.TobService;

import lombok.extern.slf4j.Slf4j;

@Controller
@Slf4j//新的输出控制台方法
public class TabCotroller {
//	@Autowired
//	private TobService tobService;
//	@GetMapping("toPublishTipPage.do")
//	public String fatie(Model model){
//		List<Tab>Tab =tobService.findAll();
//		model.addAttribute("tabs",Tab);
//		return"publishTip";
//	}
	
}
